Skip to main content

Check Files Locked

Description

Check files locked is a Process Entry in the Conditions Plugin for Process Studio Processes. This process entry goes over a list of files to see if they are locked by another process. This is verified by renaming a file to the same name as before. On some operating systems (MS Windows systems in particular) this operation fails if the file is locked.

Configurations

No.Field NameDescription
1Process Entry nameSpecify a unique name for the process entry, on the workspace area. A process entry can be placed on the canvas several times; and each instance of the entry must have a unique name.
2Settings: Include subfoldersEnable this option to also check files in subfolders of specified folders
3Settings: Copy previous results to args?Pass the result rows of a previous process entry execution to the files list of this entry.
4Files/FoldersHere you can list a series of files or folders with wildcards. The wildcards are Java Regular expressions. For instance .*.txt would check any file with a .txt extension.

Please note that you can use the Delete/Edit buttons to edit the list.

You can also use the File/Folder and Wildcard entries right above the list to add new entries, browse for files and so on